fix the updater

fix the event of the disconnect.