Update createPack.php