change variable names in routes