adding event edit framework