update template to latest MP