code: def update_data(self, data_np, metadata=None, astype=None):
          
          self.set_data(data_np.copy(), metadata=metadata,
                        astype=astype)
docs: DO NOT USE: this method will be deprecated!