added gradeList updater in rewrite()