Use the folloing command to update software which was installed using apt-get:

sudo apt-get update && sudo apt-get upgrade