added event for deletion of public key