output graph updated