data updated, and UI changes done