update outputfile