updating certificate schema, fixing bugs in validation code