added updating ui with info from server