'run update for the router.  This performs a replace'

def update(self):

    results = []
    for (_, oc_data) in self.prepared_router.items():
        if oc_data['update']:
            results.append(self._replace(oc_data['path']))
    rval = 0
    for result in results:
        if (result['returncode'] != 0):
            rval = result['returncode']
    return {'returncode': rval, 'results': results}
