update candidate when authenticate