working for creating the api for update product