updated plugin definition