updated public key schema