update purl handling