updated socketio samples