refactor student details