upgrade to cocos 3.0