Update the UI and the data binding.