add class for UpdateCandidate