docs: function(req, res) {
              var updateJson = {};
              var updateSelector = {};
  
              //Request database structure
              lastQry = connection.query('SHOW COLUMNS FROM ??', req.params.table , function (err, columns) {
                  if (err) return sendError(res,err.code);
  
                  //Check if the request is provided an select value
                  if (typeof req.params.id === "undefined") {
                      return sendError(res,'Please specify an selector value for the fields ');
                  } else {
                      updateSelector.value = req.params.id;
                      updateSelector.field = findPrim(columns,req.query[settings.paramPrefix + 'field']);
                  }
  
                  //If the user only wants to update files
                  if( Object.keys(req.body).length == 0) {
                      req.body = req.files;
                  }
                  var value;
                  var iterator = function (i) {
                      if (i >= columns.length || (typeof req.body.length === "undefined" && typeof req.files.length !== "undefined")) {
                          if(JSON.stringify(updateJson) !== '{}') {
                              updateIntoDB();
                          } else {
                              return sendError(res,'No Data received!');
                          }
                          return;
                      }
                      var dbField = columns[i];
                      var field = dbField.Field;
                      //Check if the current checked field is set
                      if(typeof req.body[field] !== "undefined" || (dbField.Default == 'FILE' && typeof req.files[field] !== "undefined") ) {
                          //First check if the field is required
                          if(dbField.Null == 'NO' && dbField.Extra != 'auto_increment') {
                              value = checkIfSentvaluesAreSufficient(req,dbField);
                              if(value !== false) {
                                  updateJson[field] = value;
                                  iterator(i + 1);
                              } else {
                                  return sendError(res,"Not all 'NOT NULL' fields are filled ("+ field +" is missing)");
                              }
                          }  else {
                              //Check for not required fields
                              //Skip auto_incremented fields
                              if(dbField.Extra === 'auto_increment') {
                                  iterator(i + 1);
                              } else {
                                  //Check if the field was provided by the client
                                  var defined = false;
                                  if(dbField.Default == "FILE") {
                                      if(req.files.hasOwnProperty(dbField.Field)) {
                                          defined = true;
                                      }
                                  } else {
                                      if(typeof req.body[field] !== "undefined") {
                                          defined = true;
                                      }
                                  }
  
                                  //If it was provided, check if the values are okay
                                  if(defined) {
                                      value = checkIfSentvaluesAreSufficient(req,dbField);
                                      if(value !== false) {
                                          updateJson[field] = value;
                                          iterator(i + 1);
                                      } else {
                                          if(dbField.Default == "FILE") {
                                              return sendError(res, 'Value for field ' + field + ' is not sufficient. Either the file is to large or an other error occured');
                                          } else {
                                              return sendError(res, 'Value for field ' + field + ' is not sufficient. Expecting ' + dbField.Type + ' but got ' + typeof req.body[field]);
                                          }
                                      }
                                  } else {
                                      //If not, don't mind
                                      iterator(i + 1);
                                  }
                              }
                          }
                      } else {
                          iterator(i + 1);
                      }
                  };
  
                  iterator(0); //start the async "for" loop
  
                  function updateIntoDB() {
                      //Yaaay, alle Tests bestanden gogo, insert!
                      lastQry = connection.query('UPDATE ?? SET ? WHERE ?? = ?', [req.params.table , updateJson, updateSelector.field, updateSelector.value] , function (err) {
                          if (err) return sendError(res,err.code);
                          sendSuccessAnswer(req.params.table , res, req.params.id, updateSelector.field);
  
                      });
                  }
              });
          }