def METHOD_NAME(adata):
    tempdir = tempfile.TemporaryDirectory()
    output_path = tempdir.name
    tiledbsoma.io.from_anndata(output_path, adata, measurement_name="RNA")
    with tiledbsoma.Experiment.open(output_path) as exp:
        exp.ms["RNA"].var.schema
    new_obs = adata.obs
    new_var = adata.var
    del new_obs["groups"]
    del new_var["vst.mean"]
    with tiledbsoma.Experiment.open(output_path, "w") as exp:
        tiledbsoma.io.update_obs(exp, new_obs)
        tiledbsoma.io.update_var(exp, new_var, "RNA")
    with tiledbsoma.Experiment.open(output_path) as exp:
        o2 = exp.obs.schema
        v2 = exp.ms["RNA"].var.schema
    with pytest.raises(KeyError):
        o2.field("groups")
    with pytest.raises(KeyError):
        v2.field("vst.mean")