Added torrent element and UpdateTorrents function