def METHOD_NAME(
    model_name,
    version_name,
    label,
    model,
    custom_module,
    no_custom_modules,
    artifact,
    workspace,
    overwrite,
    requirements,
    description,
    attribute,
    input_description,
    hide_input_label,
    output_description,
    hide_output_label,
):
    """Update an existing registeredmodelversion entry."""
    if custom_module and no_custom_modules:
        raise click.BadParameter(
            "--custom-module cannot be used alongside --no-custom-modules."
        )
    elif no_custom_modules:
        custom_module = []
    elif not custom_module:
        custom_module = None
    client = Client()
    try:
        registered_model = client.get_registered_model(model_name, workspace=workspace)
    except ValueError:
        raise click.BadParameter("model {} not found".format(model_name))
    try:
        model_version = registered_model.get_version(name=version_name)
    except ValueError:
        raise click.BadParameter("version {} not found".format(version_name))
    _multiple_arguments_for_each(
        artifact,
        "artifact",
        lambda key, path: model_version.log_artifact(key, path, overwrite=overwrite),
        lambda: model_version.get_artifact_keys(),
        overwrite,
    )
    if not overwrite and model and model_version.has_model:
        raise click.BadParameter(
            "a model has already been associated with the version; consider using --overwrite flag"
        )
    if label:
        model_version.add_labels(label)
    if model:
        model_version.log_model(
            model, custom_modules=custom_module, overwrite=overwrite
        )
    if requirements:
        reqs = Python.read_pip_file(requirements)
        model_version.log_environment(Python(requirements=reqs))
    if description:
        model_version.set_description(description)
    if input_description:
        model_version.set_input_description(input_description)
    if hide_input_label:
        model_version.set_hide_input_label(hide_input_label)
    if output_description:
        model_version.set_output_description(output_description)
    if hide_output_label:
        model_version.set_hide_output_label(hide_output_label)
    add_attributes(model_version, attribute, overwrite)