update sqlite3 condition