updated height based on measurement