update the base layout's height