defined edit_attendee_change function