updates for min height and width