```\nfunction updateTransferFee(uint256 newTransferFee) public onlyOwner {\n    require (newTransferFee <= 5, "transfer fee cannot exceed 5%");\n    transferFee = newTransferFee;\n    emit UpdateTransferFee(transferFee);\n}\n```\n