update runtime template