update template
way to bulk-manage shanghai flags