update url handling