updates in d3js