firestore write data js code example Example: firebase cloud method update firebase deploy --only functions:functionNameHere