update and search by offerid and product id

merging new code