Update hooks.yaml for yaml hook.