handle nameColor change