DataBase: changes in SetConnections method