update private key