Main template contents update