commitBeforeUpdate