updated static template instance id to be dynamic