before updating all the configs