update apiParser with elections api