precaution - we want to update headers when data is synced to disk