UPDATE output to .txt file