updating generic payment controller and paypal controller