Funds.update() lets users update fields that may not have any effect
`Funds.update()` allows users to update the following fields which are only used if `bools[fund].custom` is set:\\n`minLoanamt`\\n`maxLoanAmt`\\n`minLoanDur`\\n`interest`\\n`penalty`\\n`fee`\\n`liquidationRatio`\\nIf `bools[fund].custom` is not set, then these changes have no effect. This may be misleading to users.\\n```\\nfunction update(\\n    bytes32  fund,\\n    uint256  minLoanAmt\\_,\\n    uint256  maxLoanAmt\\_,\\n    uint256  minLoanDur\\_,\\n    uint256  maxLoanDur\\_,\\n    uint256  maxFundDur\\_,\\n    uint256  interest\\_,\\n    uint256  penalty\\_,\\n    uint256  fee\\_,\\n    uint256  liquidationRatio\\_,\\n    address  arbiter\\_\\n) external {\\n    require(msg.sender == lender(fund));\\n    funds[fund].minLoanAmt       = minLoanAmt\\_;\\n    funds[fund].maxLoanAmt       = maxLoanAmt\\_;\\n    funds[fund].minLoanDur       = minLoanDur\\_;\\n    funds[fund].maxLoanDur       = maxLoanDur\\_;\\n    funds[fund].maxFundDur       = maxFundDur\\_;\\n    funds[fund].interest         = interest\\_;\\n    funds[fund].penalty          = penalty\\_;\\n    funds[fund].fee              = fee\\_;\\n    funds[fund].liquidationRatio = liquidationRatio\\_;\\n    funds[fund].arbiter          = arbiter\\_;\\n}\\n```\\n
Resolution\\nThis is fixed in AtomicLoans/atomicloans-eth-contracts#67.\\nThis could be addressed by creating two update functions: one for custom funds and one for non-custom funds. Only the update for custom funds would allow setting these values.
```\\nfunction update(\\n    bytes32  fund,\\n    uint256  minLoanAmt\\_,\\n    uint256  maxLoanAmt\\_,\\n    uint256  minLoanDur\\_,\\n    uint256  maxLoanDur\\_,\\n    uint256  maxFundDur\\_,\\n    uint256  interest\\_,\\n    uint256  penalty\\_,\\n    uint256  fee\\_,\\n    uint256  liquidationRatio\\_,\\n    address  arbiter\\_\\n) external {\\n    require(msg.sender == lender(fund));\\n    funds[fund].minLoanAmt       = minLoanAmt\\_;\\n    funds[fund].maxLoanAmt       = maxLoanAmt\\_;\\n    funds[fund].minLoanDur       = minLoanDur\\_;\\n    funds[fund].maxLoanDur       = maxLoanDur\\_;\\n    funds[fund].maxFundDur       = maxFundDur\\_;\\n    funds[fund].interest         = interest\\_;\\n    funds[fund].penalty          = penalty\\_;\\n    funds[fund].fee              = fee\\_;\\n    funds[fund].liquidationRatio = liquidationRatio\\_;\\n    funds[fund].arbiter          = arbiter\\_;\\n}\\n```\\n