switched update hook to POST