code: def update_record(self, name, recordid, content, username, password):
          ''' Update record '''
          # headers = {'key': username, 'secret': password}
          req = requests.put(self.api_server + '/api/' + name + '/' +
                             str(recordid), data=json.dumps(content),
                             auth=(username, password))
          return ref update_record(self, name, recordid, content, username, password):
          ''' Update record '''
          # headers = {'key': username, 'secret': password}
          req = requests.put(self.api_server + '/api/' + name + '/' +
                             str(recordid), data=json.dumps(content),
                             auth=(username, password))
          return req
docs: Update record