database consolidate library