Minor fix for updateSFile.