change token type