   {:body (select-summary db)})
 
 (defn results-summary 
-  "Collects score results, sum the launch and ramp scores, tie break by weight"
+  "Collects score results, sum the individual scores"
   []
   {:body (select-results db)}) 
 

(defquery select-results "sql/select-results.sql")
(defquery select-summary "sql/select-summary.sql")
(defquery create-team! "sql/insert-team.sql")
(defquery update-team-weight! "sql/update-team-weight.sql")
(defquery update-team-launch! "sql/update-team-launch-score.sql")
(defquery update-team-ramp! "sql/update-team-ramp-score.sql")
(defquery update-team-presentation! "sql/update-team-pres-score.sql")
(defquery delete-team! "sql/delete-team.sql")

(defn teams-summary

  "Helper function to update correct field of team"
  [team-name field value]
  (cond
    (= field "School") (update-team-school! db value team-name)
    (= field "Egg Drop") (update-team-egg-drop! db value team-name)
    (= field "Crack the Safe") (update-team-crack-safe! db value team-name)
    (= field "Break Out") (update-team-break-out! db value team-name)))

(defn update-team 
  "Updates team field, school name or score, to new value provided the team exists"
  [{:keys [team-name field value]}]
  (let [rows-aff (update-by-field team-name field value)]
    (if (= 1 rows-aff)
