updated layout and social template