update the configuration