main table template change