setting default for update_template