update height after search