Implementing logic to update UI with backend data changes