Update HookDefinition.php