Updating Cocos reference.