updated templates to have type property specified