Is it not infringement to change the size and appearance of utility patents?

of course not. The utility model patent also protects the structure. If the structure is the same and it is the same kind of product, then it is infringing. If it only changes the appearance and the structure is still the same, it is still infringing. Mainly depends on whether the scope of protection of patent claims is written into some structural features.

Of course, you can also file a request for invalidation of the target patent. You can think that the patent is invalid, which is not creative or novel or has other problems compared with the existing technology.