updating the paypal model