updated size of graph