updating schedule