Hello @HinataGrape-6694 ,
Option 1: Use the Device Update Agent as it is
The Device Update Module agent can run alongside other system processes and IoT Edge modules that connect to your IoT Hub as part of the same logical device.
Device Update for IoT Hub and IoT Plug and Play
Device Update for IoT Hub uses IoT Plug and Play to discover and manage devices that are over-the-air update capable. The Device Update service sends and receives properties and messages to and from devices using IoT Plug and Play interfaces.
Option 2: Build your own Device Update agent
How to build and run Device Update Agent
You can also build and modify your own customer Device Update agent.
Follow the instructions to build the Device Update Agent from source.
Once the agent is successfully building, it's time to run the agent.
I highly recommend reading: Azure/iot-hub-device-update