update public key handling