add database dependency