updating Event.php to new Events format