Update event_model.php