how to query and update a data on firebase code example Example: firebase update data await firebase.database().ref().update(updates);