Update selection state