disconnect updates on close