remove updates when exit