adding database directory