Upgrades pHash lib