update teacher's page