function update($details) { $conn = new Connection("auto"); $query = new Build(); $result = $query->update($conn->grab_conn(), $details, "close"); return $result; }