update tablewithgraphs