update cer, hide keyboard after done button