upgrade_img2_mac