Added a function to update the courses waived section every time the schedule is updated