Edit a spawn gameobject

Options
Scenario:
The master client spawn a texture on the scene.
The non-master client edit it.
Problem:
I see the texture changed only on the non-master client. How to send changes in a way that it´s synchronized?
On master client:
void OnPhotonSerializeView(PhotonStream stream, PhotonMessageInfo info)
{
if (stream.isWriting)
{
// nothing to write
}
else
{
rawData = (byte[])stream.ReceiveNext();
tex.LoadImage(rawData);
rawImage.material.mainTexture = tex;
}
}