lib upgrades