Updating routes.py