update to model/template