Reoptimization of weighted graph and covering problems