fix for updating an order