Add code of add public key