revamp config api