@Override
    public boolean update(DataRow parameters, DataRow row) 
    {
     
                Boolean flaga = false;
                String stm;
                String tabelName = row.getTableName();
                List<DataCell> cells = row.row;
                List<DataCell> toUpdate = parameters.row;
                
                String kolumny = "";
                String doPodmiany = "";
                
                for(DataCell c : cells)
                {
                    kolumny += c.name + " = " + c.value + ", ";
                }
                
                for (DataCell x : toUpdate)
                {
                    doPodmiany += x.name + " = " + x.value + " AND ";
                }
                
                kolumny = kolumny.substring(0, kolumny.length() - 2);
                doPodmiany = doPodmiany.substring(0, doPodmiany.length() - 5);
                stm = "UPDATE " + tabelName + " SET " + kolumny + " WHERE " + doPodmiany;
                try
                {
                     PreparedStatement prepStmt = conn.prepareStatement(stm);
                    prepStmt.execute();
                    flaga = true;
                }
                catch (Exception ex)
                {
                    ErrorDialog errorDialog = new ErrorDialog(true, "Błąd operacji w lokalnej bazie danych: \n" +  ex.getMessage(), "LocalDatabaseConnectorSQLite", "update(DataRow parameters, DataRow row)", "prepStmt");
                    errorDialog.setVisible(true);
                }
                return flaga;
    }