updates routes files