update config by adding plugin