completes updating d3 stuff