change/move logic for setting revised_at field (updated date) on works