update sched.py