Modify torrent-set method