change typecode