update LCA header for each file