updates selected features