Fix updating pattern and route address

Updating was not working for pattern and address at all.