Update CalendarEventManager.php