update layout and links