updates for editing events