diff --git a/Assets/SharedSpatialAnchors/Scripts/API.cs b/Assets/SharedSpatialAnchors/Scripts/API.cs
index 398761e..25ce3df 100644
--- a/Assets/SharedSpatialAnchors/Scripts/API.cs
+++ b/Assets/SharedSpatialAnchors/Scripts/API.cs
@@ -68,8 +68,9 @@ public class API : MonoBehaviour
     {
         if (isButtonPressed)
         {
-            Debug.Log("Inside Update");
-            voltageValue.text = webSocketControllerScript.voltageValue.ToString();
+            photonView = PhotonView.Get(this);
+            photonView.RPC("RPC_VoltageUpdate", RpcTarget.All, webSocketControllerScript.voltageValue.ToString());
+           
         }
     }
 
@@ -169,6 +170,12 @@ public void ExtractDataFromJson(string json)
         loc.SetText(location);
         windSpeedValue.SetText(windSpeed);
     }
+    [PunRPC]
+    public void RPC_VoltageUpdate(String voltageGenerated)
+    {
+        Debug.Log("Voltge generated is - " + voltageGenerated);
+        voltageValue.text = voltageGenerated;
+    }
     public string GetWindDirection(float degrees)
     {
         // Ensure degrees are within the range 0 to 359