update pmem header