Hey,
You can use the save() function from the wix-data API to update an existing record in your database collection.
Hope this helps!
Dara | Corvid Team