added update of student's exercise in the teacher dashboard