update plugin to 2.0