public static void update(String eDatabase, String table,String column, String VALUES, String where){
		Connection gCon = null; // general connection to MYSQL
	    Connection eCon = null; // connection to database

	    Statement eStatement = null; // statements for the eDatabase
	    

	    try{
	        // Register JDBC driver
	        Class.forName(DBConfig.driver);
	        
	     // Connect and initialize statements for General MYSQL and eDatabase
	        System.out.println("Connecting to MYSQL...");
	        gCon = DriverManager.getConnection(DBConfig.url, DBConfig.user, DBConfig.password);
	        eCon = DriverManager.getConnection(DBConfig.url + eDatabase, DBConfig.user, DBConfig.password);
	        eStatement = eCon.createStatement();

	        if (!DatabaseProcess.checkDBExists(gCon,eDatabase)) {
                Exception e = new Exception("Requested database "+eDatabase+" doesn't exist");
                throw(e);
            }
	        System.out.println("UPDATE "+table + " SET "+column +" = " +VALUES+" " +"WHERE " + where +";");
	        eStatement.executeUpdate("UPDATE "+table+" set "+column+" = "+VALUES+" WHERE "+where+" ; ");
	    // Handle possible errors
	    }catch(SQLException se){
	        //Handle errors for JDBC
	        se.printStackTrace();
	    }catch(Exception e){
	        e.printStackTrace();
	    }finally{
	        //finally block used to close resources
	        try{
	            if((eStatement!=null)) {
	                eStatement.close();
	            }
	        }catch(SQLException se2){
	        }// nothing we can do
	        try{
	            if(eCon !=null || gCon != null ) {
	                eCon.close();
	                gCon.close();
	            }
	        }
	        catch(SQLException se){
	            se.printStackTrace();
	        }
	    }
	    System.out.println("Goodbye!");
	}