It is possible to PERFORM <subroutine> ON COMMIT in an update task.