(Yanfly's skill learn system) hide skill when other is learned

Hello, everyone!

Again I fail to grasp the correct use of Yanfly's plugins. Now I want to make something like this:

I have this character which can learn a skill called "firebolt." So he talks to the "master wizard" and then the skill learn menu from Yanfly's plugin appears. He selects the skill and learns it. Automatically, other skill becomes available for him to learn. Let's call it "firebolt 2". Up to there I know what to do. The problem is that when this upgraded firebolt is learned by the character, I want the old version (firebolt 1) to disappear from both, the skill learn menu and the character's skill menu. As if the player has upgraded the skill, so the old one won't be needed.

The page of the plugin is this one:

http://yanfly.moe/2015/11/14/yep-28-skill-learn-system/

Thanks for your time!!!

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-skill-learn-system-hide-skill-when-other-is-learned.88084/