docs: def update(self, dct):
          """Update the configuration with new parameters. Must use same
          kwargs as __init__"""
          d = self.__dict__.copy()
          d.update(dct)
          self.set_attrs(**d)