Changes to vote model