def METHOD_NAME(configuration):
    """Sets the worker configuration to the env variable.
    This method will merge the provided dictionary to any existent value in the environment variable.
    Args:
        configuration: dictionary(string), the configuration key value pairs.
    """
    try:
        env_config = os.environ[CONFIG_ENV_KEY]
        config = json.loads(env_config)
        config.update(configuration)
        configuration = config
    except KeyError:
        pass
    os.environ[CONFIG_ENV_KEY] = json.dumps(configuration)