update url patterns