update for fold method