update method of xbee reader