Use XDB to replace current db util.