SSP-867 Backend changes to update student_type based on external data