Update hook.php