updated plot dendro func