updating schedule.