sync option removal (redundant), new update options, sed insert-line
fixed insert-lines function