code: def add_val(self, val):
          
          if not isinstance(val, type({})):
              raise ValueError(type({}))
          self.read()
          self.config.update(val)
          self.save()
docs: add value in form of dict