> For the complete documentation index, see [llms.txt](https://material-wallpaper.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://material-wallpaper.gitbook.io/docs/migrate-from-older-version/version-4.1.0-to-4.2.0.md).

# Version 4.1.0 to 4.2.0

### **ANDROID STUDIO**

A complete reinstallation project is required. See [**FAQ**](/docs/faq.md) for more detail.

### **ADMIN PANEL**

This guide is for you who want to migrate from **older version (v4.1.0)** to **latest version (v4.2.0)** without losing your previous data, but, to avoid unexpected data loss, we recommend that you backup your data before doing this step, this step is for the **admin panel** as server side.

### Update Database

1. Login to your cpanel hosting, open **PhpMyAdmin**
2. Select your database and make update by inserting SQL query function on below :

{% tabs %}
{% tab title="Query 1" %}

```sql
ALTER TABLE `tbl_ads` 
ADD `applovin_banner_ad_unit_id` VARCHAR(45) NOT NULL 
DEFAULT '0' AFTER `unity_interstitial_placement_id`, 
ADD `applovin_interstitial_ad_unit_id` VARCHAR(45) NOT NULL 
DEFAULT '0' AFTER `applovin_banner_ad_unit_id`,
ADD `mopub_banner_ad_unit_id` VARCHAR(45) NOT NULL 
DEFAULT '0' AFTER `applovin_interstitial_ad_unit_id`,
ADD `mopub_interstitial_ad_unit_id` VARCHAR(45) NOT NULL 
DEFAULT '0' AFTER `mopub_banner_ad_unit_id`;
```

{% endtab %}
{% endtabs %}

### **Update PHP Script**

1. Login to your cpanel hosting, open **File Manager**
2. Navigate to the directory where you put the php admin panel code
3. Download [**material\_wallpaper\_admin\_panel\_update\_v4.2.0.zip**](https://drive.google.com/file/d/1YvK3pP6k9YYmpwyf75VI-zKUqdwHRcEQ/view?usp=sharing), upload it into your existing admin panel directory and then extract it
4. After the extract process is completed, the code will be updated automatically and refresh it
5. Your Admin Panel is ready to use. (Note : if you use Google Chrome, click **“Ctrl + F5”** to reload the Admin Panel page).
