update autocomplete to handle multiple entities for socketio