updates layout and organizes stylesheets