Removed selection code from ui.core. Added find and update function. Updated ui.core tests.