updated to require digest, removed deprecated DB API param 'root'