updated selectTeacher