update css and index layout