add database to the config