private Boolean updateIntern(String query, Boolean drop){
		if(!drop){
		switch(this.type){
		case PUT:
			String pattern = "GRAPH <[^>]*>";
			Matcher m = Pattern.compile(pattern).matcher(query);
			while(m.find()){
				dropGraph(m.group().replace("GRAPH <", "").replace(">", ""));
			}
			break;
		case POST:
			break;
		default:
			return false;
		}
		}
		try{
			Statement stm = this.con.createStatement();
			stm.executeUpdate(query);
			stm.close();
			this.queries ="";
			return true;
		} catch (SQLException e) {
			LogHandler.writeStackTrace(log, e, Level.SEVERE);
			return false;
		}
	}