Update CalendarExtension.php