Enhance Transaction for segment insertion