updated color based on ratings