update layout & styles