Update for Cocos2D 3.2