getting the newest version of template