# Widget migration guide
1. Update name of the file:
```html
// [!code --]
// [!code ++]
```
1. Add `widget-container` attribute to the footer:
```html
```
1. Update all the buttons with `checkStat=true` attribute:
```html
Buttons section 1Buttons section 2
```
1. Activate advanced mode - ensure to handle error in `try..catch` block:
```html