update to folding pipeline