client = BacklogClient("your_space_name", "your_api_key")
        client.update_version("YOUR_PROJECT",
                              3,
                              "VERSION_NAME"
                              {"description": "updated description",
                               "archived": "true"})

def update_version(self, project_id_or_key, version_id, version_name, extra_request_params={}):        
        """
        client = BacklogClient("your_space_name", "your_api_key")
        client.update_version("YOUR_PROJECT",
                              3,
                              "VERSION_NAME"
                              {"description": "updated description",
                               "archived": "true"})
        """
        
        request_params = extra_request_params
        request_params["name"] = version_name
        return self.do("PATCH", "projects/{project_id_or_key}/versions/{version_id}",
                       url_params={"project_id_or_key": project_id_or_key,
                                   "version_id": version_id},
                       request_params=request_params,
                       )