fix color update