update the schedule