remove logical typo in documentation of sample update hook