fix bug in update_membership_list, oldRecord might be None