use lfs_vflush for lfs_update; update the version number in truncate