updating ref_arch template