anchor.diff:              ,update_cursor_execute_fun =
                   fun(_Lock, PrepStmt) ->
                           Result = dderloci_stmt:execute(PrepStmt),
  -                        io:format("The result from the exec ~p~n", [Result]),
  +                        ?Info("The result from the exec ~p", [Result]),
                           Result
                   end
              }.
  +
  +-spec fix_row_format([list()]) -> [tuple()].
  +fix_row_format([]) -> [];
  +fix_row_format([Row | Rest]) ->
  +    %% TODO: Only with row id for now that needs to be replaced by the table name i.e
  +    %  rows [
  +    %        {{temp,1,2,3},{}},
  +    %        {{temp,4,5,6},{}}
  +    %  ]
  +    [{list_to_tuple(lists:reverse(Row)), {}} | fix_row_format(Rest)].
  
positive.code:                 end
              ,fetch_close_fun = fun() -> ok end
              ,stmt_close_fun  = fun() -> StmtRef:close() end
              ,filter_and_sort_fun = fun(_FilterSpec, _SrtSpec, _Cols) -> {ok, Query, SortFun} end
              ,update_cursor_prepare_fun =
                  fun(ChangeList) ->
                          ?Info("The stmtref ~p, the table name: ~p and the change list: ~n~p", [StmtRef, TableName, ChangeList]),
  
negative.code:                           fun() ->
                                    case StmtRef:fetch_rows(?DEFAULT_ROW_SIZE) of
                                        {{rows, Rows}, Completed} ->
                                            RowsFixed = fix_row_format(Rows),
                                            ?Info("StmtRef ~p, Rows ~p, Completed ~p", [StmtRef, RowsFixed, Completed]),
                                            FsmPid ! {StmtRef, {RowsFixed, Completed}};
                                        {error, Error} ->
                                            FsmPid ! {StmtRef, {error, Error}}
                                    end
  