Modify updating the config to work with read only file system.