update with counting grade