I use the following method to PUT my update:
Invoke-WebRequest -Method PUT -ContentType "text/json" -Body $changeduserdata -Uri https://192.168.1.10