working with updating selection