how to update an document in firebase code example Example: firebase cloud method update firebase deploy --only functions:functionNameHere