update colorpanel