Update teacherView.js