update voting mechanism