Update checkCertificates