added post-update hook