lib upgrade