removed index kwarg
better graph updates