replace template instances with the uni details