UPDATE cb_headers_screen_filters hsf
INNER JOIN cb_payroll_headers_type pht ON hsf.headers_type_id=pht.payroll_headers_type_id
INNER JOIN cb_payroll_setup ps ON hsf.payroll_setup_id=ps.payroll_setup_id
SET hsf.`status`=0
WHERE hsf.payroll_physical_years_id=63
AND pht.header_type LIKE 'Salary_Wages' AND (ps.setup_desc LIKE 'Statutory_Payments' OR ps.setup_desc LIKE 'Disbursement');

UPDATE cb_headers_screen_filters hsf
INNER JOIN cb_payroll_headers_type pht ON hsf.headers_type_id=pht.payroll_headers_type_id
INNER JOIN cb_payroll_setup ps ON hsf.payroll_setup_id=ps.payroll_setup_id
INNER JOIN cb_payroll_headers ph ON hsf.payroll_headers_id=ph.payroll_headers_id
SET hsf.`status`=0
WHERE hsf.payroll_physical_years_id=63
AND pht.header_type LIKE 'Employee_Deduction' AND ((ps.setup_desc LIKE 'Statutory_Payments'
AND ph.header_key NOT IN ('income_tax','eobi_deduction','eobi_arrears_deduction','ghi_deduction')) OR ps.setup_desc LIKE 'Disbursement');