update to race template generator