updating torch, qttorch, threads