Translate the list in a string of comma separated numbers and use it in the update statement