update schedule.