Updated config file update code.
Merge branch 'test' into dev