update graph colors