updated graph2