set pubkey