update again switching d3 method