Update hooks.rst