update event in calendar when event is edited