# First time update help requested

**URL:** <https://hub.mender.io/t/first-time-update-help-requested/6698>\
**Category:** Update Modules\
**Created:** [March 30, 2024, 4:45pm UTC](https://hub.mender.io/t/first-time-update-help-requested/6698 "2024-03-30T16:45:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjsteele](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@jjsteele](https://hub.mender.io/u/jjsteele)\
**Post date:** [March 30, 2024, 4:45pm UTC](https://hub.mender.io/t/first-time-update-help-requested/6698/1 "2024-03-30T16:45:17Z")

</div>

I need to update two files in a sub directory on the device.  
Do I need to send all files in the folder to the device or just the changed ones. Should I use directory or directory-overlay.

Thanks for your help

---

<div class="post-metadata">

**Author:** ![lluiscampos](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/lluiscampos/32/112_2.png) [@lluiscampos](https://hub.mender.io/u/lluiscampos)\
**Post date:** [April 2, 2024, 7:15am UTC](https://hub.mender.io/t/first-time-update-help-requested/6698/2 "2024-04-02T07:15:50Z")

</div>

Hello,

- `directory` module will replace the whole directory, and require you to send all files in the Artifact
- `dir-overlay` module will replace only the files present in the Artifact, so you only would need to send these two files.

For your use case, I think `dir-overlay` will work best!

Lluis
