update for barPlot3D