Update text selection