changed product type name to product type code