fix upgrade for pxe and health