enabled undo for update