changed back external db