update the configs