Enhance transaction for segment insertion