Update write file path