update according to recent file format changes