upgrade structure and visualize