Changed the update for qvalue