updating css and layout