graph updated