update to template for writing