update the schedule and the lessons_at() function