updated disconnect