update time interval and d3