update for product query