Add comment and minor refactoring to make it cleaner to update a proposal during election