Update algorithm from p_x to h_x.