Update elect() function