set work.posted field earlier on update, before date calculation is done