Improve DB upgrading for lazy updaters