Update url2resource.php