Change election table structure