appwritereferencesdatabasesupdate-documentupdate-documentUpdate a document by its unique ID. Using the patch method you can pass only specific fields that will get updated.