now updates routes correctly