update product api