fixed connectionLost event, use strings to accurately handle config
updates