create new collection in a document firebase code example Example: firebase cloud method update firebase deploy --only functions:functionNameHere