Test update hook