updated query for price in handler