updated output file