update url pattern