update output plot