why can't we call updateInputHeight in the caller ?