update selection ui