updating schedule file