Update color of graph