added ready event and update() to the video stream