fix update of color