Upgrade lib