added reconnect support and updater support