private void setArchiveUri(Function<ArchiveUris, ArchiveUris> mapper) {
        try (Lock lock = db.lockArchiveUris()) {
            ArchiveUris archiveUris = db.readArchiveUris();
            ArchiveUris updated = mapper.apply(archiveUris);
            if (archiveUris.equals(updated)) return; // No change

            db.writeArchiveUris(updated);
            this.archiveUris.invalidate(); // Throw away current cache
        }
    }
Set (or remove, if archiveURI is empty) archive URI to use for given account
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/archive/ArchiveUriManager.java