Upgrade database library to latest version