update template from master