adding upgrade feature to pacman module

Modifications are made to add ability to upgrade system with the pacman module.