update election path