Update folding_app.cc