def METHOD_NAME(env_name, data,
                                        nohang, timeout=None):
    if fileoperations.env_yaml_exists():
        io.echo(strings['config.envyamlexists'])
    commonops.update_environment(
        env_name,
        None,
        nohang,
        timeout=timeout,
        template_body=data
    )