update api events routes