code: @PutAction("{model}")
      public void update(@DbBind MODEL_TYPE model, MODEL_TYPE data) {
          $.merge(data).filter("-id").to(model);
          dao.save(model);
      }
docs: Update a ${MODEL_TYPE} record by id.
  
  @param model
  the URL path variable specifies the id of the record to be updated.
  @param data
  the update data that will be applied to the ${MODEL_TYPE} record