modify generator of token infomation