add document in firebase node.js code example Example: firebase cloud method update firebase deploy --only functions:functionNameHere