public boolean Update(String ticket, String lastName) throws Exception {
		try {
		//Load the MySQL driver
	    Class.forName("com.mysql.jdbc.Driver");
	    //Setup the connection with the database
	    conn = DriverManager.getConnection("jdbc:mysql://" +dbHost+ ":" +dbPort+ "/" +dbName, dbUser, dbPass);
	    //Create statement to execute query
	    stmt = conn.createStatement();
	    //Execute query
    	int result = stmt.executeUpdate("update users set internet = '1' where ticket='" +ticket+ "' and lastname='" +lastName+ "'");
    	//Result is already an int so, if good => true else => false (executeUpdate returns the number of rows updated, so it should be 1)
    	if(result == 1) {
    		return true;
    	}
    	else {
    		return false;
    	}
    	  //If there is an error, throw it
	    } catch (Exception e) {
	      throw e;
	    //Finally close the connections
	    } finally {
	    	if (stmt != null) stmt.close();
	           if (conn != null) conn.close();
	    }
	}