Update ElectionManager.java