UPDATE users
SET is_admin = CASE WHEN user_type = 'super_admin' THEN 1 ELSE 0 END;

