added torrent update_piece method