update to newfile