code: def update_params(self, param_d):
          
          for param in self.paramlst:
              if param.name in param_d:
                  value = param_d[param.name]
                  setattr(self.obj, param.name, value)
docs: Update the attributes in self.obj that match the keys in
          `param_d`.