---
title: Working with Templates: Update/Rollback/Delete
slug: working-with-templates-updaterollbackdelete
description: Learn how to update or remove templates easily with Kubeark's flexible approach. Update at the deployment or template level by following simple steps in Template Management. Also, easily delete templates when needed.
docTags: 
createdAt: 2023-07-19T12:45:55.996Z
---

Kubeark provides a highly adaptable approach to managing templates, which includes user-friendly methods for modifying, rolling back, or removing a template. This allows for easy template maintenance, facilitating the development and management of applications with greater efficiency and precision.

We have learned how to setup our template groups and how to create template versions in just a few simple steps. Let’s see how we can update a deployment with a specific template version.

There are two ways of updating a deployment:

- Deployment level updates
- Template level updates

***

### &#x20;Option 1: Updating at the Deployment level

- Go to `Template Management` and select `Deployments` - a list of all available deployments will display
- ![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/BqulK1wib6IgAnuci3QXI_mg-tmpl-1.png)
- Select the deployment you wish to modify by clicking the corresponding line item
- From the deployment details page, select `Update` and here you will see a list of all available template versions
- The `Actions` column shows the active template version on the respective line item.
- ![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/_9nF0v8Apka9NBok9zb5P_mg-tmpl-2.png)
- From here, click on `Update` in order to activate a different template version
- A new template page will open, allowing you to review and edit the desired parameters. Kubeark allows you to select your parameters (*ipTarget, ingress, deployed\_by, deployment\_uuid, public*) either **from template**, either **from current deployment.**
- ![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/u4pxwfapMu61KqacNCiUN_mg-tmpl-3.png)
- Once you have finalized configuring the parameters, click on **Update**

:::hint{type="success"}
The same procedure can be applied in **rollback** scenarios by selecting a previous template version
:::

### Option 2: Updating at the Template level

- Go to `Template Management` and select `Groups`, choose your desired template group
- Within the group, select your desired `Template`
- On the right side of the screen you will see the available template versions. The active versions are marked with a blue dot, as shown in the below picture.
- Select your desired Template version from the list and click on `Upgrade deployment`

![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/Dg-YTWWVLNEAaSgfkvU8G_mg-tmpl-4.png)

:::hint{type="success"}
The same procedure can be applied in **rollback** scenarios by selecting a previous template version
:::

### How to Delete a Template

- Go to `Template Management` > `Groups` and select your desired template group from the list
- The list of available templates is displayed on the screen
- The `Actions` column on the right of the screen displays the available actions such as: `Edit`, `Duplicate` or `Delete`
- For deleting a template, select the Bin icon

![](https://api.archbee.com/api/optimize/-uoBIPXCIMlUMvNPPrDxd/czrGKMdmWo-Jq4dSJxD5l_mg-tmpl-5.png)

