Close folds when updating them