update configs.