Updated URL detectiong