Updating private keys