how to get whole updated data on firebase database onupdate code example Example: firebase update data await firebase.database().ref().update(updates);