update Token class