Update EventController.php