Update machine.m.motemplate