Update ui with data from server