add event to index