    public void update() {
        String table_name = getStringPrompt("Which table?");
        List<String> set = getStringPrompt("Which set instruktion?").split(" *, *");
	String condition = getStringPrompt("Which condition?");
	List<String> columns = new ArrayList();
	List<String> valuess = new ArrayList();
	for (String x:set){
	    List<String> tuple=x.split(" *= *");
	    if (tuple.size()!=2){
		System.out.println("Invalid syntax!");
		return;
	    }
	    columns.add(tuple.get(0));
	    values.add(tuple.get(1));
	}
        try {
            db.insert(table_name,columns,values,condition);
        } catch (Exception e) {
            System.out.println("Invalid syntax!");
            System.out.println(e);
        }
    }

    public void update() {
        String table_name = getStringPrompt("Which table?");
        List<String> set = getStringPrompt("Which set instruction?").split(" *, *");
	String condition = getStringPrompt("Which condition?");
	List<String> columns = new ArrayList();
	List<String> valuess = new ArrayList();
	for (String x:set){
	    List<String> tuple=x.split(" *= *");
	    if (tuple.size()!=2){
		System.out.println("Invalid syntax!");
		return;
	    }
	    columns.add(tuple.get(0));
	    values.add(tuple.get(1));
	}
        try {
            db.insert(table_name,columns,values,condition);
        } catch (Exception e) {
            System.out.println("Invalid syntax!");
            System.out.println(e);
        }
    }
