update layout and theme