How to Edit Asset IP using Powershell


I am trying to edit an assets IP using the following powershell command

             Edit-SafeguardAsset -AssetToEdit 228 -NetworkAddress

Where is the new IP for the server with Asset ID 228. If I give the -verbose option, in the JSON I can see that the new IP is shown. But the Asset is not updated.

What would be the correct way to update IP of an asset using PowerShell