magento2 – How to change the order status cancel in magento after payment cancelled from ccavenue MCPG Payment Gateway?

integrate my website with ccavenue MCPG payment Gateway. I have an issue on orders, if customer cancel the payment from payment gateway successfully return to website and show the order as cancelled but from the admin panel order status shows as pending.

How can i update order status as cancelled.