diff --git a/src/content/pages/en/guide/migrating-5.mdx b/src/content/pages/en/guide/migrating-5.mdx
index adb15bb2e2..3dcda0cd01 100644
--- a/src/content/pages/en/guide/migrating-5.mdx
+++ b/src/content/pages/en/guide/migrating-5.mdx
@@ -270,6 +270,12 @@ This check only applies to the part of the path that `send` evaluates. When you
#### How to update
+You can automatically update your code by running the following command:
+
+
+
+Or you can update your code manually:
+
```diff
app.get('/files/:name', (req, res) => {
- res.sendFile(req.params.name, { hidden: true, from: '/uploads' });
@@ -327,6 +333,12 @@ Use the [`mime-types` package](https://github.com/jshttp/mime-types) to work wit
#### How to update
+You can automatically update your code by running the following command:
+
+
+
+Or you can update your code manually:
+
```diff
-express.static.mime.lookup('json');
+const mime = require('mime-types');