update configuration refactoring