code: def updateModel(self, X_all, Y_all, X_new, Y_new):
      if self.model is None:
          self._create_model(X_all, Y_all)
      else:
          self.model.set_XY(X_all, Y_all)
  
      self.model.optimize(
          optimizer=self.optimizer,
          messages=self.verbose,
          max_iters=self.max_iters,
      )
  
file_path: GPyOpt/GPyOpt/models/warpedgpmodel.py
imports: import numpy
  import GPy
  from .base import BOModel
label_desc: Use image node_id 3 for calling the WarpedGPModel obj's underlying member method code with example usage: obj.updateModel(X_all, Y_all, X_new, Y_new) without return types