modify two template parames