If you modify the functionality of the OrderManager or its related components, you should make sure to follow these guidelines:

The handleMoveToPurchaseInfoByRelId method and all other handle methods of atg.commerce.order.purchase.CartModifierFormHandler provide good examples of how and when to call getOrderManager.updateOrder().