Adding/updating web socket sample