update config plugin to 2.x