Changes and challenges in regulating elections