update list UI for selected state