improve action_add_attendee function