update the layout dimens