Upgrade library