update layout, styles, and javascript