update the color