Update Secret stored in vault Database

Hey All,

I created a new PSCredential variable and selected database as vault. How can I update the password using a script?

Thanks

Product: PowerShell Universal
Version: 4.2.2

Is there any documentation how this should work with the vault database?
get, set and update

There is a documentation about variables and it is talking about how to retrieve them but I don’t see anything about updating.