Update SP algorithm for OOTPX