updating folding