add event config