modify insert mode