Implemented a reconnect to server when updating.