improve UpdateElection and code for view nominee detail