Update route.py

make it better