adding locvotes to replace voteidx
updated votehist and locvotes