fixed the selection display and update