Razorpay SDK is giving the error while updating the subscription.
Documentation Reference -> https://razorpay.com/docs/api/payments/subscriptions/#update-a-subscription
The update method is not found in the subscription module.
Solution - Change the edit method of the subscription module to the update to match the documentation.