correction to persist_tenant_to_cache