UPDATE public.core_settings
SET value = value || '{"maximumAutoassignedDuties": 1}'::jsonb
WHERE setting_type = 'duty_settings' AND setting_name = 'duty_general_configuration'