add db library