update to Cocos2D 3.1.1