fixed problem with concurrent update of d3 graph
fixed problem with concurrent update of d3 graph