update height for page