updated window template