testing update hook