update plugin and config