How to change MaterialAsset Property in ContentBrowser through C++

Now i am making a plugin and i want to change MaterialAsset Property in ContentBrowser ,but i don’t how to change,if you know ,wish you guidance me,thanks!

TArray AssetData;

GEditor->GetContentBrowserSelections(AssetData);

UMaterial *u = Cast(AssetData[0].GetAsset());

u->BlendMode = EBlendMode::BLEND_Masked;-----------------------( this haved wrong, not changed )