update hook test