graph widget updated