updating color with a selected object updates its color