'.. http:put:: /api/1/accountpatternauditscores/<int:id>
Update override account pattern audit score with the given ID.
**Example Request**:
.. sourcecode:: http
PUT /api/1/accountpatternauditscores/234 HTTP/1.1
Host: example.com
Accept: application/json, text/javascript
"id": 234,
"account_pattern": "AccountPattern",
"score": 5
**Example Response**:
.. sourcecode:: http
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
"id": 234,
"account_pattern": "AccountPattern"
"score": 5,
"itemauditscores_id": 123
auth: {
authenticated: true,
user: "user@example.com"
:statuscode 200: no error
:statuscode 404: item with given ID not found
:statuscode 401: Authentication failure. Please login.'

def put(self, id):

    self.reqparse.add_argument('account_type', required=False, type=unicode, help='Must    provide    account    type.', location='json')
    self.reqparse.add_argument('account_field', required=False, type=unicode, help='Must    provide    account    field.', location='json')
    self.reqparse.add_argument('account_pattern', required=False, type=unicode, help='Must    provide    account    pattern.', location='json')
    self.reqparse.add_argument('score', required=False, type=unicode, help='Must    provide    score.', location='json')
    args = self.reqparse.parse_args()
    result = AccountPatternAuditScore.query.filter((AccountPatternAuditScore.id == id)).first()
    if (not result):
        return ({'status': 'Override    Account    Pattern    Audit    Score    with    the    given    ID    not    found.'}, 404)
    result.account_type = args['account_type']
    result.account_field = args['account_field']
    result.account_pattern = args['account_pattern']
    result.score = int(args['score'])
    db.session.add(result)
    db.session.commit()
    db.session.refresh(result)
    accountpatternauditscore_marshaled = marshal(result.__dict__, ACCOUNT_PATTERN_AUDIT_SCORE_FIELDS)
    accountpatternauditscore_marshaled['auth'] = self.auth_dict
    return (accountpatternauditscore_marshaled, 200)
