update product type