Implemented updateUi();

Implemented updateUi() calls on ui selection changes for real-time data
updates.