'Update the connection data.'

def update(self):

    self.connections = self.schiene.connections(self.start, self.goal, dt_util.as_local(dt_util.utcnow()))
    for con in self.connections:
        if ('details' in con):
            con.pop('details')
            delay = con.get('delay', {'delay_departure': 0, 'delay_arrival': 0})
            con['delay'] = delay['delay_departure']
            con['ontime'] = con.get('ontime', False)
