Update router.py