$packageTbl: CBYTable containing all the packages to be updated @names: list of package names to be toggled
DESCRIPTION
This function toggle a package status from "to be installed" to "to be updated" and viceversa based on the first package status.
$packageTbl: CBYTable containing all the packages to be updated $val: new value wanted for the status (1 selected)
DESCRIPTION
This function select or deselect all the packages according to the $val passed.