server: update on disconnect fixed