updated product api