updated to latest d3