Use the student_id param instead of id for student_teams#edit