Fixes in plugin updating, config plugin now saves its changes on stop.