update hook method position