code: def update_version(
      self, version, is_stable=None, is_beta=None, is_hidden=None
  ):
      self.__verify_version_exists(version)
      data = {
          "version": "v" + version,
          "is_stable": is_stable
          if is_stable is not None
          else self.get_versions()[version]["is_stable"],
          "is_beta": is_beta
          if is_beta is not None
          else self.get_versions()[version]["is_beta"],
          "is_hidden": is_hidden
          if is_hidden is not None
          else self.get_versions()[version]["is_hidden"],
      }
      version = self.__api_POST(
          "version", data, "Creating version " + version
      )
      for k, v in version.items():
          self.get_versions()[version][k] = v
  
imports: import json
  import os
  from requests.auth import HTTPBasicAuth
  import requests
label_desc: Use image node_id 18 for calling the ReadMeSession obj's underlying member method code with example usage: obj.update_version(version, is_stable, is_beta, is_hidden) without return types