Update document header.