using update firebase to add new field code example Example: firebase update data await firebase.database().ref().update(updates);