update order calculator