protected function updateColumn($table, $primary, $column)
    {
        $columns = $this->mergeColumns($primary, $column['name']);
        $where = $column['where'];

        foreach ($this->database->getRows($table, $columns, $where) as $rowNum => $row) {
            $this->database->updateByPrimary(
                $table,
                Helpers::arrayOnly($row, $primary),
                $column['name'],
                $this->calculateNewValue($column['replace'], $rowNum)
            );
        }
    }