update cancelAtPeriodEnd for subscription doesn't work

update cancelAtPeriodEnd doesn't work as well
fix update of payment for subscriptions
Merge pull request #17 from aluedeke/master

fix update of subscriptions