update styles and chart coloring