height and width updated