Updating d3 references