I understand perfectly how upvoting a question or answer affects the score of the beneficiary, and how downvoting the same affects the target and one's self. However, I don't know how changing your vote affects the reputations in play.
For example,
- I recently removed an upvote on an answer, because I came to know it as faulty, whereas I assumed it to work earlier.
- Alternatively, I have also downvoted a question before and suggested edits based on the incoherent language used in the question. Later the question was more well formed and I changed the downvote to an upvote.
What are the reputation changes at play here?