Update teacher.php