I want to update the UI whenever a new document is added to a collection: this is the tricky part because using this code:
snapshot.documentChanges.forEach {