update disconnect and reconnect