fixed preUpdate, postUdpate, postDelete methods