add deleteBackward and insertText method

add deleteBackward and insertText method