update some layout and styles