# Update Environment Best Practices

**URL:** <https://community.localwp.com/t/update-environment-best-practices/9132>\
**Category:** Support\
**Created:** [October 30, 2018, 12:21am UTC](https://community.localwp.com/t/update-environment-best-practices/9132 "2018-10-30T00:21:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![atempel](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/atempel/32/4826_2.png) [@atempel](https://community.localwp.com/u/atempel)\
**Post date:** [October 30, 2018, 9:25pm UTC](https://community.localwp.com/t/update-environment-best-practices/9132/2 "2018-10-30T21:25:26Z")

</div>

I don’t call this “best practice”, but I’ve gone through this process.  
What I did was:

1. Update environment (which makes a clone with the “-clone” suffix)
2. Export your original site using the “Export” option when right clicking the site’s name (so you can keep it safe in case of something wrong happening)
3. Delete the original site that was just exported (the export holds a complete backup of the site, so it can be imported back at any moment)
4. Rename the site (to delete the “-clone” suffix)
5. Change site domain (to delete the “-clone” suffix)

After all those changes, your site will be working just like the one before, but your folder inside “Local Sites” will still have the “-clone” suffix. To solve this the best way is to **Export this cloned site the same way you did with the original one, delete the site you exported after the process is done, and import it again** with the correct name, that way your folder will have the same name.  
Ex:  
_Original folder name - localbyflywheel_  
_Cloned folder name - localbyflywheel-clone_  
_Cloned folder name after import (you can name it any way you want) - localbyflywheel_

That way you will have the same domain, site name, and folder name as before, but with the environment upgraded.  
There might even be a better way to do it, but since I did it in kind of a hurry, I didn’t put much thought into it. If you improve this process in any way, please share! I would like to know a better way to do it.

Also if you have any questions about this process I gave, don’t hesitate to ask. And remember to **always be sure to make backups/exports** since you are deleting the websites, so be sure to not lose your work.

---

_[View the full topic](https://community.localwp.com/t/update-environment-best-practices/9132)._
