Change leverage on perps without closing trade

We should be able to change the leverage amount without manually closing and reopening a trade. For example, if you have an open 3x leveraged perpetual options trade open, we should be able to lower it to 1.1x with a new calculated liquidation price, or ramp it up to 5x while maintaining the original liquidity amount. Most do something of the sort manually but it can be automated by jupiter.