Update main_fol.cpp