Update grading.php