modified updateSchedule function to include type of item (film, event, etc.)