To update application installed by pip, e.g. streamlink:

sudo pip install -U streamlink