Update SQLite

CX update sqlite design, contact me if there are bugs.