changing graph