update using original file