insertTeacher method update