updates routes href