update path to public key