updates folds