update product-add function