refresh the data for the visualization