Voting API updated and created