updating edit form for events