update selection and highlight