updates to url handling