adapters/adapter: fixed an issue where adapter config was not changing from previous run