update the config