Update height calculation of items