update: Mark plugins as inactive when they're unloaded