edit product type