update plugin.rb