Changing a stored marker?

I am trying to change a store marker created by the server, how can I make the color update?
This is my code:

var pos = player.transform.position;
string v_marker = "assets/prefabs/deployable/vendingmachine/vending_mapmarker.prefab";

BaseEntity _test = GameManager.server.CreateEntity(v_marker, pos);
_test.Spawn();

VendingMachineMapMarker vendingMarker = _test.GetComponent<VendingMachineMapMarker>();
vendingMarker.markerShopName = "here";
vendingMarker.SendNetworkUpdate();

var obj = vendingMarker.markerObj.GetComponent<UIMapVendingMachineMarker>();

if(obj != null)
{
    obj.outOfStock = Color.cyan;
    obj.inStock = Color.cyan;
    obj.colorBackground.color = Color.cyan;
}

vendingMarker.SendNetworkUpdate();

The Object UIMapVendingMachineMarker not have a NetworkUpdate

Hey! I think UIMapVendingMachineMarker is client class (used in client in common) so you will do literally NOTHING if you change it's vars
In response to misticos ():
Hey! I think UIMapVendingMachineMarker is client class (used in client in common) so you will do lit...
Really, do you have any idea how to change the color of a marker and keep a tooltip? I'm doing an event, in which a mapMarker is essential to indicate goals, I've seen on some servers mapMark colored with tooltip, however I do not think way to do it