update graphs and data