add database directory