changing the way updates are passed; updates are now being passed through the event object instead of being directly received from the socket