Update vote logic