Fixed total_order_price and updating queries