# Sage 8.1.0 and Soil 3.1.0 Updates

**URL:** https://discourse.roots.io/t/sage-8-1-0-and-soil-3-1-0-updates/3218
**Category:** blog
**Created:** 2015-03-13T16:01:48Z
**Posts:** 6

## Post 1 by @ben — 2015-03-13T16:01:48Z

Originally published at: [https://roots.io/sage-8-1-0-and-soil-3-1-0-updates/](https://roots.io/sage-8-1-0-and-soil-3-1-0-updates/)  
New updates have been made to both Sage and Soil. The changelog is small and mostly minor for both projects. We’ve moved HTML5 Boilerplate’s Google Analytics snippet out of Sage and turned it into a Soil module. The option for adding a Google Analytics ID still exists in the theme config (lib/config.php) and the theme…

---

## Post 2 by @hamidelgendy — 2015-03-16T13:13:34Z

How to update sage without losing my theme that i’ve build with sage and its configuration?

---

## Post 3 by @ben — 2015-03-18T03:50:31Z

Since Sage is a starter theme you usually don’t need to update. You can manually roll bring down changes, or you can do something like this:

> [@How to use the Sage Git and merge new Versions with themes](https://discourse.roots.io/t/how-to-use-the-sage-git-and-merge-new-versions-with-themes/3264/2):
>
> That’s fine in general. You can add our Github repo as an upstream remote and use it for updates. See here [http://gitready.com/intermediate/2009/02/12/easily-fetching-upstream-changes.html](http://gitready.com/intermediate/2009/02/12/easily-fetching-upstream-changes.html)

---

## Post 4 by @dpc — 2016-07-21T15:44:15Z

where do we add the analytics ID?

---

## Post 5 by @smutek — 2016-07-22T03:10:53Z

You can add it in setup.php, with the other Soil stuff.

```
add_theme_support('soil-google-analytics', 'UA-XXXXX-Y', 'wp_footer');
```

Instructions are in the [source](https://github.com/roots/soil/blob/master/modules/google-analytics.php#L10)

---

## Post 6 by @dpc — 2016-07-22T09:02:54Z

Thanks! I found the code in a newer version of settings.php and setup() function.
