Backstory:
I have a Table named Settings - columns: SettingName, SettingValue

Task: with a button push update a SQL Table colum SettingValue
I run several commands:
Patch( 'Settings', Lookup( 'Settings', 'SettingName' = "EnableAllDiagnostics" ), { 'SettingValue': "1" } )

Update(Settings,
First( Filter( Settings, SettingName="EnableAllDiagnosticPolicies" ) ), { SettingName: "EnableAllDiagnosticPolicies" ,
SettingValue: "0" } )

I am new to PowerApps and I think I do a simplest mistake, could someone point me to that mistake?
Thanks in advance
Balys