fix missing global DB

The 0.84 update process was broken without this missing global variable.