[-] IN : Lower memory usage in migrate_orders, fix update_order_messages loop