update totalsize for opinion