update cocos to 2.1