update to vote object