updated layout using table