@Override
	 public void update(String dataBaseName, String tableName,
	   ArrayList<Field> entries, Field entry) {
	 
	  // get the array of col from load
	  XMLParser obj = new XMLParser();
	  ArrayList<Col>table=obj.load(dataBaseName, tableName);
	//  ArrayList<Col> table = intialize();
	  if(table==null)return;
	 
	  int indexOfConField = getIndexOfField(table, entry.getName());
	  String comparedVal = entry.getValue();// to store the compared value
	  char relation = entry.getRelation();// to store the condition relation
	 
	  for (int i = 0; i < table.get(0).getLen(); i++) {
	 
	   if (compareRelation(table.get(indexOfConField).get(i), comparedVal,
	     relation, table.get(indexOfConField).getFieldType())) {
	    updateRaw(table, i, entries);
	   }
	 
	  }
	  try {
	   obj.createTable(dataBaseName, tableName, table);
	  } catch (ParserConfigurationException e) {
	   // TODO Auto-generated catch block
	   e.printStackTrace();
	  } catch (TransformerException e) {
	   // TODO Auto-generated catch block
	   e.printStackTrace();
	  }
	  //print(table);
	  System.out.println("Done :)");
	 }