update plugin file