Rander Target and MipMap

Hey guys. I need help
There is a texture and a canvas with the same settings. If I use a texture in a material, mipmaps are switched at runtime.
if I draw it on the UCanvasRenderTarget2D canvas, then the mips are switched only after the texture is re-rendered.
How to update mipmaps at runtime?