Remove deprecated plugins on upgrade