private void updateDataDirectoryFromSectionHeader(String name, int index) {
    ImageSectionHeader header = getSection(name);
    ImageDataDirectory directory = myImageOptionalHeader.getImageDataDirectories().get(index);
    directory.getVirtualAddress().setValue(header.getVirtualAddress().getValue());
    directory.getSize().setValue(header.getVirtualSize().getValue());
  }
private void updateDataDirectoryFromSectionHeader(String name, int index)