Hey guys ran across this error I was getting when using the provided code example.
the function requires 4 required parameters and then the updateLedger Boolean
The example in the documentation may need an update to add the missing 3rd parameter storageDeletes