updating height