add feature revert to update hook