added clearCalendar and updateEvent methods