Re-arrange insert transaction.