Update the qpd update logic.