update GDP algorithms