fixed user not update grade bug, add test