added updateUI call