updated product API