improve deploy post-update hook, again