That’s not a fix. I can write code to show false results online just as easily as I can write code to change an R to a D.
We need to have paper ballots. If we want to mechanize this process, the paper ballots can be counted by machine, but they need to be preserved until the election is validated so that if necessary, they can be inspected by eye and recounted by hand. That won’t solve all election fraud problems, but it will remove the easy and invisible electronic fraud.