fixed publish grades to add new grades