Upgrade database library