To update a specific program:
sudo pacman -S <programName>
To update entire the system:
sudo pacman -Syu