update link and layout