change Torch config