Student and teacher api patch