updated text selection