changed config to coonect to final db