And here is my answer.
There are a number of ways to do this, but a simple one is to take the old mean,
multiply it by the number of observations, which gets us the sum,
add to it the new value, which gets us the new sum,
and then divide it by the new number of observations,
which is just one more than the old one.