change token type.