Update schedule.cpp