Updated selected text.