update vote diagram