# How to update the templates

**URL:** <https://discuss.elastic.co/t/how-to-update-the-templates/174275>\
**Category:** Elasticsearch\
**Created:** [March 28, 2019, 8:49am UTC](https://discuss.elastic.co/t/how-to-update-the-templates/174275 "2019-03-28T08:49:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yogesh\_BG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yogesh_bg/32/70018_2.png) [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Post date:** [March 28, 2019, 8:49am UTC](https://discuss.elastic.co/t/how-to-update-the-templates/174275/1 "2019-03-28T08:49:56Z")

</div>

Hi

I am using 6.4 version of ES

My scenario is, I have two templates for same mapping ex: temp1 and temp2

i want to get union of properties when i apply temp1 and then temp2. Currently temp2 is overriding temp1. Is there a way to achieve?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 25, 2019, 9:05am UTC](https://discuss.elastic.co/t/how-to-update-the-templates/174275/2 "2019-04-25T09:05:15Z")

</div>

Closed on April 25, 2019, 9:05am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
