fixed link to api/event.php to be up to date with necessary parameters