template update to support new optional rendering