Updated QSM template, not tested