update for layout change