add a check prior to the execution of "yum update" to see if the update should be run