Updating public key.