update serviceProvider and remove profiler for config