adds event editing, part 1
Event edit, part 2