update plugin.event.php

adapted ml