''

def _update(self):

    pre_serial_ports = []
    while self._is_alive:
        serial_ports = self._list_func()
        if (serial_ports != pre_serial_ports):
            pre_serial_ports = serial_ports
            if callable(self._call_back):
                self._call_back(serial_ports)
        time.sleep(1)
