input: Write a python function to create a new student record and update its details using the provided class.
  assert student.get_student_records() == {'student_id': 1, 'name': 'John Doe', 'age': 20, 'course': 'Math'}
  student.set_student_records({'name': 'Jane Doe', 'age': 21})
  assert student.get_student_records() == {'student_id': 1, 'name': 'Jane Doe', 'age': 21, 'course': 'Math'}
output: class Student:
      def __init__(self, student_id, name, age, course):
          self.student_id = student_id
          self.name = name
          self.age = age
          self.course = course
      
      def get_student_records(self):
          return {
              'student_id': self.student_id,
              'name': self.name,
              'age': self.age,
              'course': self.course
          }
      
      def set_student_records(self, update_dict):
          for key, value in update_dict.items():
              if hasattr(self, key):
                  setattr(self, key, value)
  
  def create_student_record(student_id, name, age, course):
      return Student(student_id, name, age, course)
  
  student = create_student_record(1, 'John Doe', 20, 'Math')