'Update the connection data.'

def update(self):

    try:
        _departures = self.mvg.getlivedata(station=self._station, ubahn=self._include_ubahn, tram=self._include_tram, bus=self._include_bus, sbahn=self._include_sbahn)
    except ValueError:
        self.departures = {}
        _LOGGER.warning('Returned    data    not    understood')
        return
    for _departure in _departures:
        if (('' not in self._destinations[:1]) and (_departure['destination'] not in self._destinations)):
            continue
        elif (('' not in self._directions[:1]) and (_departure['direction'] not in self._directions)):
            continue
        elif (('' not in self._lines[:1]) and (_departure['linename'] not in self._lines)):
            continue
        elif (_departure['time'] < self._timeoffset):
            continue
        _nextdep = {ATTR_ATTRIBUTION: ATTRIBUTION}
        for k in ['destination', 'linename', 'time', 'direction', 'product']:
            _nextdep[k] = _departure.get(k, '')
        _nextdep['time'] = int(_nextdep['time'])
        self.departures = _nextdep
        break
