Update database object references to be consistent with packages.