updated height and width