When you want to add just one element to a set, you should use the add() function. If you want to use the update() function, you need to pass the new element as a set.
Here is an example:
>>> a={1,2,3,4,5}
>>> a.add(6)
>>> a
{1, 2, 3, 4, 5, 6}
>>> a={1,2,3,4,5}
>>> a.update({6})
>>> a
{1, 2, 3, 4, 5, 6}
>>>