d3 - Change text label when data updates