public String alterBaseInfo() {
		memberId = (String) session.get("memberId");

		if (memberId.charAt(0) == 'f') {
			Member member = memberService.getFamilyMembers(memberId).get(0);

			memberService.deleteMember(memberId);

			for (int i = 0; i < name.length; i++) {
				memberService.addMember(new Member(memberId, member
						.getPassword(), name[i], Integer.parseInt(age[i]),
						sex[i], address[i], member.getStatus()));
			}
		} else {
			for (int i = 0; i < name.length; i++) {
				memberService.alterBaseInfo(memberId, name[i], age[i], sex[i],
						address[i]);
			}
		}

		return "success";
	}