Slider for brush

Hello
I made slider for objects, which allows me to move object in realtime in Z for example.
There is a code:
button:

col.prop(wm, 'float_move_Z')

rest of code

def move_Z_func(self, context):
    selected_objects = bpy.context.view_layer.objects.selected
    print(selected_objects)
    for obj in selected_objects:
        bpy.context.object.location[2] = self.float_move_Z

in register section

def register():
    bpy.types.WindowManager.float_move_Z = bpy.props.FloatProperty(
        update=move_Z_func,
        name="Move",
        description="changing Y in object",
        default=0,
        min=0,
        max=200,
    )

And It’s working :slight_smile:
But I want make such a realtime slider in brush propierties. I want changing this value

bpy.data.brushes["Fill/Deepen"].auto_smooth_factor = 0.166136
I made such a slider:

def filler_func(self, context):
print(‘hello’, self.float_filler)
selected_brush = bpy.ops.wm.tool_set_by_id(name=“builtin_brush.Fill”)
print(selected_brush)
for brush in selected_brush:
print(brush, brush.name)
for brush in brush.data.brushes:
bpy.data.brushes[“Fill/Deepen”].auto_smooth_factor = self.float_filler
But is not working ? I know that there are problems with accesing in to a brush data.
Can anyone could me help ?
Greets