Update EventsControllerExtension.php