Update deprecated Set syntax