It is recommended that you place the COMMIT WORK in the update task.