Updates a variable/document.
The collection where the document is stored.
The name under which the variable will be saved (document name).
The variable to update.
Optional
The variable where to store the result.
Updates a variable/document.