some updates for frontend socketio API