Update hooks.