auto update ui when received data