update plugin definition