```\\nfunction updateFees(uint256 deadBuy, uint256 deadSell, uint256 marketingBuy, uint256 marketingSell,\\n                    uint256 liquidityBuy, uint256 liquiditySell, uint256 RewardsBuy,\\n                    uint256 RewardsSell) public onlyOwner {\\n    \\n    buyDeadFees = deadBuy;\\n    buyMarketingFees = marketingBuy;\\n    buyLiquidityFee = liquidityBuy;\\n    buyRewardsFee = RewardsBuy;\\n    sellDeadFees = deadSell;\\n    sellMarketingFees = marketingSell;\\n    sellLiquidityFee = liquiditySell;\\n    sellRewardsFee = RewardsSell;\\n\\n    totalSellFees = sellRewardsFee.add(sellLiquidityFee).add(sellMarketingFees);\\n\\n    totalBuyFees = buyRewardsFee.add(buyLiquidityFee).add(buyMarketingFees);\\n    require(deadBuy <= 3 && deadSell <= 3, "burn fees cannot exceed 3%");\\n    require(totalSellFees <= 10 && totalBuyFees <= 10, "total fees cannot exceed 10%");\\n\\n    emit UpdateFees(sellDeadFees, sellMarketingFees, sellLiquidityFee, sellRewardsFee, buyDeadFees,\\n                    buyMarketingFees, buyLiquidityFee, buyRewardsFee);\\n}\\n```\\n