Add function to modify single lines of config in memory.