update gems and layout