---
title: "Update File"
description: "Update a Google Drive file name, description, or starred flag."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/drive/update-file"
---
# Update File

> Update a Google Drive file name, description, or starred flag.

<block-meta block="Yes" capability="Google Drive" channels="Any" folder="google/drive" group="Drive" groupTo="/build/workflows/blocks/drive" icon="i-lucide-pencil" pipe="Value" scope="Any" service="Google" tool="Yes" type="google.drive.update_file">



</block-meta>

**Update File** patches metadata. Empty optional fields are left unchanged except **Starred**, which is sent when checked.

**File ID** can be a folder. Change **Name** to rename the folder. There is no separate rename-folder block.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        File ID
      </strong>
    </td>
    
    <td>
      Drive file or folder id (required)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Name (optional)
      </strong>
    </td>
    
    <td>
      New name
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Description (optional)
      </strong>
    </td>
    
    <td>
      New description
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Starred
      </strong>
    </td>
    
    <td>
      Star the file
    </td>
  </tr>
</tbody>
</table>

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
