Change template so existing defaults are preserved when writing new yaml file