updates for d3 integration