optimizing  upgrade doc
diff --git a/en/tutorial/upgrade-guide-v5.md b/en/tutorial/upgrade-guide-v5.md
index bba2078..796720a 100644
--- a/en/tutorial/upgrade-guide-v5.md
+++ b/en/tutorial/upgrade-guide-v5.md
@@ -42,21 +42,17 @@
 
 So if you are importing `echarts` like this:
 ```js
-import echarts from 'echarts/lib/echarts';
-```
-or
-```js
 import echarts from 'echarts';
+// Or import core module
+import echarts from 'echarts/lib/echarts';
 ```
 
 It will throw error in `v5`. You need to change the code as follows to import the entire module.
 
 ```js
-import * as echarts from 'echarts/lib/echarts';
-```
-or
-```js
 import * as echarts from 'echarts';
+// Or
+import * as echarts from 'echarts/lib/echarts';
 ```
 
 
diff --git a/zh/tutorial/upgrade-guide-v5.md b/zh/tutorial/upgrade-guide-v5.md
index dc67b09..dae5167 100644
--- a/zh/tutorial/upgrade-guide-v5.md
+++ b/zh/tutorial/upgrade-guide-v5.md
@@ -42,22 +42,18 @@
 
 如果使用者在 `v4` 中这样引用了 echarts:
 ```js
-import echarts from 'echarts/lib/echarts';
-```
-或者
-```js
 import echarts from 'echarts';
+// 或者按需引入
+import echarts from 'echarts/lib/echarts';
 ```
 
 这两种方式,`v5` 中不再支持了。
 
 使用者需要如下更改代码解决这个问题:
 ```js
-import * as echarts from 'echarts/lib/echarts';
-```
-或者
-```js
 import * as echarts from 'echarts';
+// 按需引入
+import * as echarts from 'echarts/lib/echarts';
 ```