diff --git a/README.md b/README.md
index e6f0f3a2a8bb784480746d18479df873c93ceeb8..ecfd05931bad24e7b940ec01036d06fb50a407b1 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@ componentDidUpdate(prevProps, prevState) {
 }
 
 this.webrtc.on('receivedPeerData', (type, state, peer) => {
-    if(type === 'stateUpdate') this.setState({ peerState: state });
+    if (type === 'stateUpdate') this.setState({ peerState: state });
 });
 ```
 
@@ -272,6 +272,8 @@ webrtc.on('connectionReady', (sessionId) => {
 `'connectionReady', sessionId` - emitted when the signaling connection emits the
 `connect` event, with the unique id for the session.
 
+`'receivedPeerData', type, payload, peer` - emitted when a peer sends data via `shout` or `whisper`
+
 `'createdPeer', peer` - emitted three times:
 
 - when joining a room with existing peers, once for each peer