updated template with the latest key-value pairs