update height blocks