Update lib/hooks_handlers.php