Implements elections#create and elections#update

Actions tested and working
Prefs still broken