sqlite3 update

-- new enums
  -- some enums changed
-- new functions
-- whitespace fixes
-- struct {}; to struct {}
Ditto for all struct declarations.