updated disconnect event