# 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).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://material-wallpaper.gitbook.io/docs/migrate-from-older-version/version-4.1.0-to-4.2.0.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
