fix(hooks): updating the update hook