updates visualizer