validate update election