adminMain template updated