Add events to index file