update output result