Update handle_event.php