docs: def update(self, params, args, data):
          # type: (str, dict, dict) -> Union[List[AppModel], AppModel]
          """
          PUT /resource/model_cls/[params:id]
          data
  
          Update resource/s
          """
          ctx = self._create_context(params, args, data)
          row_id = ctx.get_row_id()
  
          if row_id is not None:
              model = self._update_one(ctx)
              return None if model is None else model.get_app_model()
          else:
              return app_models(self._update_collection(ctx))