ensure stock levels are updated when editting an order. closes #60