update SQLite commection method