update objective-c color