code: def update(self, data):
          
          if not isinstance(data, dict):
              raise TypeError('Data to update must be in a dictionary.')
          for k, v in data.items():
              arr = np.array(v)
              try:
                  self[k] = arr
              except TypeError:
                  logging.warning("Values under key ({}) not supported by VTK".format(k))
          return
docs: Update this dictionary with th key-value pairs from a given
          dictionary