updates routes