Update hooks.php