update configuration.