change store method of templateIds