Graph updates with d3