fix(hook): update hook constraint and usage (refs #4492)