update output.txt