update deploy template