update plugin with event component