callback from realtime data and UI improvements