added updating election node after sending invitations