Fix updating pattern and route address