adding database config