update for cocos reader