Update UI in example