updates config files