update apis and add election properties