d3 now update values instead of rewriting