Update/Refresh modules on unload

Wrong variable on unloadCurrentModule()