Added methods to install and update packages.