Update routes.py for deploy