title: When using the onUpdate function in Firebase, how do I retrieve the record that has been updated?
body: <p>When using the cloud functions on firebase, with the onUpdate trigger, how do I retrieve the record that has been updated (in other words, the record that triggers the function)? I am using JavaScript to interface with the Firebase database.</p>