public void upLoadData() throws ServerException {
		if (log.isDebugEnabled())
			log.debug("Method call");
		for (Group oldGroup : groupsLocalCopy) {
			int i = 0;
			for (Group newGroup : groups) {
				if (oldGroup.equals(newGroup)) {
					checkStudents(newGroup, oldGroup);
					break;
				}
				if (!oldGroup.equals(newGroup)
						&& oldGroup.getNumber().equals(newGroup.getNumber())) {
					updateGroupInDB(newGroup);
					checkStudents(newGroup, oldGroup);
					break;
				}
				i++;
			}
			if (i == groups.size())
				removeGroupFromDB(oldGroup);
		}
		for (Group newGroup : groups) {
			checkGroupForNew(newGroup);
		}
		saveXML();
		setGroupsLocalCopy(groups);
	}