update selection