code: def _update_json_version(self):
      self.dict["version"] = self.version
  
      if not self.dry_run:
          s = json.dumps(self.dict, indent=2)
  
          with open(self.json_path, "w") as f:
              f.write(s)
  
file_path: calamari/calamari_ocr/ocr/savedmodel/saved_model.py
imports: import shutil
  import json
  import os
  import logging
  import packaging.version
  from calamari_ocr import __version__
  from calamari_ocr.utils import split_all_ext
label_desc: Use image node_id 4 for calling the SavedCalamariModel obj's underlying member method code with example usage: obj._update_json_version() without return types