Update class-wc-product-factory.php