private void checkUpdateAttributesExist(Hashtable<String, Integer> nameTable, Condition cond, ArrayList<AttrAssign> attrAssignList){

		ArrayList<String> condAttrStrList = null;
		ArrayList<String> attrAssignStrList = new ArrayList<String>();

		//Get attributes name in a condition if not null
		if(cond != null){
			condAttrStrList = cond.getIdList();
		}
		
		//Get attributes names in the assign attribute list
		for(AttrAssign attrAssign : attrAssignList){
			attrAssignStrList.add(attrAssign.getAttrName());
		}
	
		if(condAttrStrList != null){
				//Add condition attributes into assign attribute list if not added yet
				for(String condStrAttr : condAttrStrList){
					if(!attrAssignStrList.contains(condStrAttr)){
						attrAssignStrList.add(condStrAttr);
					}
				}
		}

		//Check if a selected attribute or conditional attribute in the table
		for(String attrName : attrAssignStrList){
			boolean containsAttr = false;
			for(String name : nameTable.keySet()){
				if(name.equals(attrName)){
					containsAttr = true;
				}
			}
			if(containsAttr == false){
				throw new Error("UPDATE: Attribute " + attrName + " does not exists");
			}
		}

	}