ensure updating the max_ballot file