Updated to new version of Cocos2d