updating product upload fn