added updateUI