sqlite3 update

-- new enums
  -- some enums changed
-- new functions
-- whitespace fixes
-- struct {}; to struct {}
Ditto
Pretty much all of these cases really should be grouped under their respective (anonymous) enums.