updated template so the root pass can be set