updateCandidateDetails method added to CandidateDao