Code for grading and schedule updated