Updating DPUs to new addNewGraph API