updates colors for charts