Update the main config file