change templates from emr to coreapps