update graph styles