update output files