Fixed issue in the config file updater

Fixed issue in the config file updater that may cause nodes to reset
theirself to the default state while updating config files.