certificate JSON update