update the styles a bit for objective-c