Update web/voteapi.php