How can I change Metasploit module source, I want to change some URL in an exploit.

I have tried the `edit` command and successfully edited this line to what I want, but changes are not reflected, the exploit has the same behavior as before, it looks like I haven't changed anything, but when I to try edit it again, I see my changes!

Does Metasploit save this anywhere else?