code: def run(self):
      ret = 0
      try:
          self.repo.update(
              targets=self.args.targets,
              rev=self.args.rev,
              recursive=self.args.recursive,
              to_remote=self.args.to_remote,
              no_download=self.args.no_download,
              remote=self.args.remote,
              jobs=self.args.jobs,
          )
      except DvcException:
          logger.exception("failed update data")
          ret = 1
      return ret
  
file_path: dvc/dvc/commands/update.py
imports: from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.exceptions import DvcException
  from dvc.log import logger
label_desc: Use image node_id 1 for calling the CmdUpdate obj's underlying member method code with example usage: obj.run() and returns: ret