update for all 3 graphs