Update layout for items.