Update output file