upgrade d3