ENH Periodic commits in update_folder