Update model_events.php