update PathSum II class