updating out.txt