update UI and default