updated resource sub templates