code: def editTemplate(id, data):
          
          conn = Qubole.agent()
          return conn.put(Template.element_path(id), data)
docs: Edit an existing template.
  
          Args:
              `id`:   ID of the template to edit
              `data`: json data to be updated
          Returns:
              Dictionary containing the updated details of the template.