update heights