update for disconnect