fix bug updating templates in bundle during dev