Change type to teacher_type