modified KeyStorage delete(Node n) method